package com.xxxy.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author StevenShen
 * @date 2022/3/25 21:30
 */
@Data
public class PaperTeachingClass implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "试卷id")
    private Integer paperId;

    @ApiModelProperty(value = "试卷简介")
    private String content;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试时间")
    private Date examTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试结束时间")
    private Date endTime;

    @ApiModelProperty("题目")
    private String questions;

    @ApiModelProperty(value = "试卷状态(3=待开始，4=进行中)")
    private Integer status;

    @ApiModelProperty(value = "教学班级ID")
    private Integer teachingClassId;

    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    @ApiModelProperty(value = "是否为行政班级上课(0=不是，1=是)")
    private Integer administrative;

    @ApiModelProperty(value = "如果为行政班级上课，则为班级id，否则为空")
    private Integer administrativeClass;

}
